package com.cms.sync.service;

import java.util.List;

import com.cms.sync.model.ImportChannelSyncData;
import com.cms.sync.model.ImportCpSyncData;
import com.cms.sync.model.ImportSyncData;

public interface SyncImportDataService {

	public boolean saveImportSyncData(List<ImportSyncData> list);
	public boolean saveImportSyncData(ImportSyncData model);
	public ImportSyncData getImportSyncDataByContent(ImportSyncData model);
	
	public boolean saveImportCpSyncData(List<ImportCpSyncData> list);
	public boolean saveImportCpSyncData(ImportCpSyncData model);
	public ImportCpSyncData getImportCpSyncDataByContent(ImportCpSyncData model);
	
	public boolean saveImportChannelSyncData(List<ImportChannelSyncData> list);
	public boolean saveImportChannelSyncData(ImportChannelSyncData model);
	public  ImportChannelSyncData getImportChannelSyncDataByContent(ImportChannelSyncData model);
	
	public List<ImportSyncData> queryImportSyncDataByContent(String startdate,String enddate,
			int cpid,String appnumber,int channelid,String bd,String goodsname,String operator,String source
			,String province,String dimension);
	public List<ImportCpSyncData> queryImportCpSyncDataByContent(String startdate,String enddate,
			int cpid,String appnumber,int channelid,String bd,String goodsname,String operator,String source
			,String province,String dimension);
	public List<ImportChannelSyncData> queryImportChannelSyncDataByContent(String startdate,String enddate,
			int cpid,String appnumber,int channelid,String bd,String goodsname,String operator,String source
			,String province,String dimension);
	
	String getMessageByrelevanceIdAndpointCode(String relevanceId,String pointCode);
	
	
}
